﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcEngine.Gallery.Models;
using MvcEngine.Core.Pagination;
using MvcEngine.Core.Base;

namespace MvcEngine.Gallery.Repositories
{
    public interface IGalleryImageRepository
    {
        GalleryImage Get(Guid id);
        void Add(GalleryImage image);
        void Update(GalleryImage image);
        void Delete(Guid id);
        IPagination<GalleryImage> GetByCategory(Guid categoryId, LoadOptions options);
        IPagination<GalleryImage> GetByGallery(Guid galeryId, LoadOptions options);
    }
}
